import request from '@/http/request.ts';

const BaseURL = '/mirror'

export function mirrorCreate(data:FormData){
    return request({
        url: BaseURL+'/create',
        method: 'post',
        data
    })
}

export function mirrorUpdate(data:FormData){
    return request({
        url: BaseURL+'/update',
        method: 'post',
        data
    })
}

export function mirrorRead(params:Object){
    return request({
        url: BaseURL+'/read',
        method: 'get',
        params
    })
}

export function mirrorDelete(data:FormData){
    return request({
        url: BaseURL+'/delete',
        method: 'post',
        data
    })
}